package edu.cdnu.pojo;

/**
 * 对应数据库course表<br/>
 * 没有mybatis的map映射
 * @author ASUS AsingZ
 */
public class CoursePojo {

	private Integer id;
	/**
	 * 课程名称
	 */
	private String name;
	/**
	 * 课程介绍
	 */
	private String description;
	/**
	 * 教学大纲
	 */
	private String syllabus;
	
	public CoursePojo() {
		super();
	}
	/**
	 * 带id
	 * @param id
	 * @param name
	 * @param description
	 * @param syllabus
	 */
	public CoursePojo(Integer id, String name, String description, String syllabus) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.syllabus = syllabus;
	}
	/**
	 * 不带id
	 * @param name
	 * @param description
	 * @param syllabus
	 */
	public CoursePojo(String name, String description, String syllabus) {
		super();
		this.name = name;
		this.description = description;
		this.syllabus = syllabus;
	}


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getSyllabus() {
		return syllabus;
	}
	public void setSyllabus(String syllabus) {
		this.syllabus = syllabus;
	}
	
	@Override
	public String toString() {
		return "CoursePojo [id=" + id + ", name=" + name + ", description=" + description + ", syllabus=" + syllabus
				+ "]";
	}
}
